package com.sx.art2.beans;



public class Account {
	
	private int accountId;
	private float accountBalance;
	private float accountTrade;
	private String accountDate;
	private String accountType;//1.充值2.体现3.交纳保证金4.退还保证金5.消费6.退款
	private int userId;
	private User user;
	
	public Account(){
		
	}

	public int getAccountId() {
		return accountId;
	}

	public void setAccountId(int accountId) {
		this.accountId = accountId;
	}

	public float getAccountBalance() {
		return accountBalance;
	}

	public void setAccountBalance(float accountBalance) {
		this.accountBalance = accountBalance;
	}

	
	
	public float getAccountTrade() {
		return accountTrade;
	}

	public void setAccountTrade(float accountTrade) {
		this.accountTrade = accountTrade;
	}

	public String getAccountDate() {
		return accountDate;
	}

	public void setAccountDate(String accountDate) {
		this.accountDate = accountDate;
	}




	public String getAccountType() {
		return accountType;
	}

	public void setAccountType(String accountType) {
		this.accountType = accountType;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}
	
	

	
	
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	
	@Override
	public String toString() {
		return "Account [accountId=" + accountId + ", accountBalance=" + accountBalance + ", accountTrade="
				+ accountTrade + ", accountDate=" + accountDate + ", accountType=" + accountType + ", userId=" + userId
				+ ", user=" + user + "]";
	}

	public Account(int accountId, float accountBalance, float accountTrade, String accountDate, String accountType,
			int userId, User user) {
		super();
		this.accountId = accountId;
		this.accountBalance = accountBalance;
		this.accountTrade = accountTrade;
		this.accountDate = accountDate;
		this.accountType = accountType;
		this.userId = userId;
		this.user = user;
	}

	



	
	
	
	

}
